package com.sh.data.engine.application.model.dto.datadev;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author xinyan
 * @date 2021/11/9 16:47
 */
@Data
@Schema
public class FlinkJobtaskDetailResponse {

    @Schema(description = "运行记录ID")
    private Long id;

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "任务类型 :0-flink_sql_task,1-flink_task,3-flink_data_sync_task")
    private Integer taskType;

    @Schema(description = "调度周期 0-日 1-周")
    private Integer scheduleType;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "发布时间")
    private Date publishTime;

    @Schema(description = "责任人")
    private String userName;

    @Schema(description = "任务状态")
    private Integer taskStatus;

    @Schema(description = "计划开始时间")
    private Date planTime;

    @Schema(description = "开始时间")
    private Date startTime;

    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "运行时长")
    private Long expendTime;

}
